import request from '@/utils/request'
import http from '@/utils/http'

//获取学生实验基本介绍列表
export async function getStudentIntroductionApi(params) {
  return await http.get("/introduce/student", params)
}
//获取老师实验基本介绍列表
export async function getTeacherIntroductionApi(params) {
  return await http.get("/introduce/teacher", params)
}
//修改实验内容
export async function updateIntroductionApi(params) {
  return await http.put("/introduce",params)
}

export async function getClassListApi() {
  return await http.get("/common/class")
}

export async function addIntroductionApi(params) {
  return await http.post("/introduce",params)
}


export async function addIntroductionAllApi(params) {
  return await http.post("/introduce/all",params)
}

export async function deleteIntroductionApi(params) {
  return await http.delete("/introduce",params)
}